<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>讯都车网</title>
    <link rel="stylesheet" href="{CSS_URL}common.css"/>
    <script src="{JS_URL}global.js"></script>
    <script src="{JS_URL}libs/seajs/2.2.0/seajs.js"></script>
    <script src="{JS_URL}libs/config.js"></script>
	<style>
		.coshop-list{
			width: 952px;
			margin: 0 auto;
		}
		.cat-property{margin: 0 auto;}
        .coshop-list .pages{ margin: 20px 20px 10px;}
	</style>
	<script type="text/javascript">
		window.onload = function(){
			var isIE6= /msie 6/i.test(navigator.userAgent.toLowerCase());
			var isIE7= /msie 7/i.test(navigator.userAgent.toLowerCase());
			var isWebkit = /webkit/.test(navigator.userAgent.toLowerCase());
			var winHeight = window.document.body.offsetHeight;
			if( !isIE6 || !isIE7 || isWebkit ){
				winHeight = winHeight+10;
			}
			parent.document.getElementById("{$mo}").height = winHeight;
		};
	</script>
</head>
<body>
<div class="coshop-list">
	<div class="cat-property">
		{if ($mo == 'jsCoshopLife' && $catid!=4855) &&  ($maincat[$cid]['child'] || ($catid && !$cid))}
		<div class="cat-section fn-clear">
			<div class="cat-hd fn-left">信息分类:</div>
			<ul class="fn-right">
				{if $maincat[$catid]['child']}
				<li {if $maincat[$catid]['catid']==$catid} class='selected'{/if}>
				<a  href="{url('shop/iframe')}?mo={$mo}&catid={$maincat[$catid]['catid']}&aid={$areaid}"  title="{$v[catname]}">不限</a></li>
				{else}
				<li {if $maincat[$catid]['parentid']==$catid} class='selected'{/if}>
				<a  href="{url('shop/iframe')}?mo={$mo}&catid={$maincat[$catid]['parentid']}&aid={$areaid}"  title="{$v[catname]}">不限</a></li>
				{/if}
				<!--{loop $maincat $k2 $v}-->
				{if $maincat[$catid]['parentid'] != $v['parentid'] || (!$v['child'] && ($v['parentid'] == $catid || !$cid))}
				<li {if $v[catid]==$catid} class='selected'{/if}>
				<a  href="{url('shop/iframe')}?mo={$mo}&catid={$v['catid']}&aid={$areaid}"  title="{$v[catname]}">{$v[catname]}</a></li>
				{/if}
				<!--{/loop}-->
			</ul>
		</div>
		{/if}
		<div class="cat-section fn-clear">
			<div class="cat-hd fn-left">地区筛选:</div>
			<ul class="fn-right">
				<li {if $aid}class='selected'{/if}>
				<a {if !$aid}href="{url('shop/iframe')}?mo={$mo}&catid={$catid}&aid={$areaFilter[$areaid]['parentid']}"{/if}  title="{$v[areaname]}" title="不限">不限</a>
				</li>
				<!--{loop $areaFilter $v}-->
				<li	{if $v[areaid]==$areaid} class='selected'{/if}>
				<a href="{url('shop/iframe')}?mo={$mo}&catid={$catid}&areaid={$v['areaid']}"  title="{$v[areaname]}">{$v[areaname]}</a>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
	<ul class="cooper-list fn-clear bd-bot-dot">
		{if $lists}
		{loop $lists $i $t}
		<li>
			<a class="img" title="{$t['shopname']}" href="{url('shop/show', 'itemid='.$t['itemid'])}" target="_blank">
				<img  src="{Picture::thumb($t['thumb'], 215, 150)}" alt="{$t['alt']}" width="215" height="150">
			</a>
			{if $t['shopname']}
			<h4 class="text-ellipsis">
				<a href="{url('shop/show', 'itemid='.$t['itemid'])}" target="_blank" title="{$t['shopname']}">{$t['shopname']}</a>
			</h4>
			{/if}
			<p class="intro c666">{Str::cut($t['youhui_zhekou'], 100)}</p>
			<p class="owner fn-clear">{Im::web($t[userid])}</p>
		</li>
		{/loop}
		{else}
		{template 'coshop_noinfo', 'message'}
		{/if}
	</ul>
	{php $total = $items}
	{template 'pager', 'inc'}
	</div>
</div>
</body>
</html>